<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>K吧</title>
<link rel="stylesheet" type="text/css" href="<s:property value="staticsRoot"/>/css/front-style.css"/>
<link href="http://www.7k7kjs.cn/qike_public/qike-sns.min.css" rel="stylesheet" />
<script src="http://www.7k7kjs.cn/js/lib/jquery/1.7.2/jquery-min.js"></script>
<script src="http://www.7k7kjs.cn/qike_public/qike-sns.min.js"></script>
<script>document.domain = "7k7k.com";</script>
<script type="text/javascript" src="<s:property value="staticsRoot"/>/js/jquery-1.8.3.min.js"></script>
<link rel="stylesheet" type="text/css" href="<s:property value="staticsRoot"/>/css/common.css" media="screen" />
<script type="text/javascript" src="<s:property value="staticsRoot"/>/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="<s:property value="staticsRoot"/>/js/xheditor-1.1.11-zh-cn.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$(".mess #yzm").click(function(){
		$(".mess li span").removeClass("dis_none");
	});
});
</script>
<style type="text/css">

<s:if test="barDO.image	!=null	&&	barDO.image !='noImage'"> 
body{
	
    background: url(<s:property value="barDO.image"/>);
    background-repeat: no-repeat;
    background-position:center;
   
}
.no-bg {
	background: #fff;
	width: 1210px;
	margin: 0px auto;
}
</s:if>
</style>
</head>

<body>
<s:if test="barDO.image	!=null	&&	barDO.image !='noImage'"> 
 <div class="no-bg">
 </s:if>
<s:include value="include/header.jsp"/>
<div class="adress">
	<a href='<s:property value="domainRoot"/>/index.html'>k吧</a>&gt;
    <a href='<s:property value="domainRoot"/>/listThread.html?barId=<s:property value="bar.id"/>'><s:property value="bar.name"/></a>
</div>
<s:include value="include/top.jsp"/>
<form name="form1" id="form1" action="applyBarManager.html" method="post">
<input type="hidden" name="barId" id="barId" value="<s:property value="barId"/>"/>
<div class="mian">
	<div class="left fl">
    	<ul class="tab_ul">
        	申请吧主
        </ul>
        <s:if test="isApply">
        	<p class="ts">您好，“<span><s:property value="user.nick" /></span>”，您申请成为“<span><s:property value="bar.name" /></span>”的吧主目前正在审核，请您耐心等候。<br />
        </s:if>
        <s:else>
        <p class="ts">您好，“<span><s:property value="user.nick" /></span>”，您现在正在申请成为“<span><s:property value="bar.name" /></span>”的吧主。<br />
        请先阅读<a href='<s:property value="domainRoot"/>/<s:property value="barAgreementUrl"/>' target="_blank">淘吧吧主协议</a>后，提交申请理由并留下联系方式，通过审核后我们会尽快通知您，非常感谢。
        </p>
        <ul class="mess">
            <li class="special">
            	<span class="fl">申请理由：</span>
            	<textarea name="applyDesc" id="applyDesc" maxlength="1000"></textarea>
   	    	</li>
            <li>手机号码：<input type="text" name="phone" class="i_text" style="width:100px;" maxlength="11"/></li>
            <li><input type="submit" value=" " class="sub_btn" /></li>
        </ul>
        </s:else>
    </div>
    <div class="clearB"></div>
</div>
</form>
<s:include value="include/foot.jsp"/>
<s:if test="barDO.image	!=null	&&	barDO.image !='noImage'"> 
 </div>
 </s:if>
</body>
</html>
